package com.neu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(description = "风险归属")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("project_rsk")
public class ProjectRsk {
    /**
     * 项目ID
     */
    @TableId(type= IdType.ASSIGN_ID)
    private String projectId;
    /**
     * 风险评估文件的url
     */
    private String rskUrl;
    /**
     * 风险因子
     */
    private Float rskFactor;

    private Integer progress;

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getRskUrl() {
        return rskUrl;
    }

    public void setRskUrl(String rskUrl) {
        this.rskUrl = rskUrl;
    }

    public Float getRskFactor() {
        return rskFactor;
    }

    public void setRskFactor(Float rskFactor) {
        this.rskFactor = rskFactor;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }
}
